package com.qf.bank.service;

import com.qf.bank.entity.Account;

import java.math.BigDecimal;

public interface AccountService {
    //登录
    Account login(String cardNo,String password);
    //存款
    boolean save(String cardNo,BigDecimal money);
    //取款
    boolean take(String cardNo,BigDecimal money);
    //转账
    boolean transMoney(String carNo, String toCardNo, BigDecimal money);
}
